import request from '@/utils/request'

export function list(params) {
  return request({
    url: '${changeClassName}',
    method: 'get',
    params
  })
}

export function save(data) {
  return request({
    url: '${changeClassName}',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '${changeClassName}',
    method: 'put',
    data
  })
}

export function remove(ids) {
  return request({
    url: '${changeClassName}',
    method: 'delete',
    data: ids
  })
}

export function download(params) {
  return request({
    url: '${changeClassName}/download',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

export default { list, save, update, remove, download }
